#include "Div.h";

public class Div : Expression{
	
	public Div(Expression e1, Expression e2){
		 super(e1, e2);
	}

	public int eval(){
		int l=left.eval();
		if(l==0) throw 0;
		return right.eval() / l;
	}
}
